Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NVScrollItemsBase<T> Class / GetFirstVisibleItemIndex Method


In This Topic
    GetFirstVisibleItemIndex Method (NVScrollItemsBase<T>)
    In This Topic
    Given an Y coordinate in viewport coordinates, returns the index of the first visible item in the scrollbable items list.
    Syntax
    'Declaration
     
    
    Protected MustOverride Function GetFirstVisibleItemIndex( _
       ByVal y As System.Double _
    ) As System.Integer
    'Usage
     
    
    Dim instance As NVScrollItemsBase(Of T)
    Dim y As System.Double
    Dim value As System.Integer
     
    value = instance.GetFirstVisibleItemIndex(y)
    protected abstract System.int GetFirstVisibleItemIndex( 
       System.double y
    )

    Parameters

    y
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also